widget-factory: Show Ctrl-? in the menu
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jun 2021 12:59:30 +0000 (08:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jun 2021 12:59:30 +0000 (08:59 -0400)
We use our own action for showing the shortcuts window,
so we need to associate this shortcut with our action
for it to show up.

demos/widget-factory/widget-factory.c

index b5a6662ec9ebc9de16f160d58ae6455954f0bdc1..5b10ecdd744b60c75ed8531ddd36b996f6deb22a 100644 (file)
@@ -1997,6 +1997,7 @@ activate (GApplication *app)
     const char *accelerators[2];
   } accels[] = {
     { "app.about", { "F1", NULL } },
+    { "app.shortcuts", { "<Control>question", NULL } },
     { "app.quit", { "<Control>q", NULL } },
     { "app.open-in", { "<Control>n", NULL } },
     { "win.dark", { "<Control>d", NULL } },